package cn.edu.hizee.gps.controller;

import cn.edu.hizee.gps.dao.GridRepository;
import cn.edu.hizee.gps.model.Grid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/*@Controller
@RequestMapping("grid")
public class GridController extends BaseController {

    @Autowired
    private GridRepository gridRepository;

    @RequestMapping("display_grid_view")
    public String displayGridView(HttpServletResponse response, int nodeId){
        List<Grid> list = gridRepository.findAllByNodeId(nodeId);
        return ajaxReturn(response,list);
    }
}*/
